package scomA2Proj;

class OrderProcessingThread {
	private int _threadID;
	private Order _order;
	private decimal _taxRate;
	private decimal _shippingCostPerChicken;
	private decimal _costPerChicken;
	public static OrderCompleteEvent _orderComplete;

	/**
	 * orderprocessing thread
	 * 1. validate card num
	 * 2. calculate total charge of order
	 * 3. send conf. to retailer
	 * 4. terminate thread 
	 * constructor
	 */
	public OrderProcessingThread(Order aOrder, decimal aTaxRate, decimal aShippingCostPerChicken, decimal aCostPerChicken) {
		throw new UnsupportedOperationException();
	}

	public void runOrderProcessingThread() {
		throw new UnsupportedOperationException();
	}

	/**
	 * &lt;summary&gt;
	 * Sends confirmation to the retailer that the order was completed, 
	 * allowing the retailer to place an additional order if needed
	 * &lt;/summary&gt;
	 * &lt;param name="retailer"&gt;&lt;/param&gt;
	 */
	private void sendConf(OrderReciept aOrderReceipt) {
		throw new UnsupportedOperationException();
	}

	/**
	 * &lt;summary&gt;
	 * Checks to see if the retailer has provided a valid credit card
	 * number for the order, must be true for the order to process
	 * &lt;/summary&gt;
	 * &lt;param name="ccNum"&gt;&lt;/param&gt;
	 * &lt;returns&gt;&lt;/returns&gt;
	 */
	private boolean validateCC(int aCcNum) {
		throw new UnsupportedOperationException();
	}
}